package com.biz.model.Hmodel.base;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
  /*************************************************************************
 * 版本：         V1.0  
 *
 * 文件名称 ：TWxGoods.java 描述说明 ：
 * 
 * 创建信息 : create by 曹凯 on 2016-7-21 上午11:21:39  修订信息 : modify by ( ) on (date) for ( )
 * 
 * 版权信息 : Copyright (c) 2015 扬州北斗软件有限公司
 **************************************************************************/
@Entity
@Table(name="base_wxgoods")
public class TWxGoods  implements java.io.Serializable {
	private String id;
	private String name;
	private String info;
	private Integer discount=0;
	private Integer isSale=0;
	private Integer sales=0;
	private Integer isdel=0;
	private Date createTime=new Date();
	private String subtitle;
	private String freight;
	private Date sendTime;
	private String memberLimit;
	private Integer isPromptly=0;
	private Date saleTime;
	private Integer countLimit=0;
	private String venderId;
	private String shopid;
	private String infolite;
	private String coverId;
	public TWxGoods(String id, String name, String info, Integer discount,
			Integer isSale, Integer sales, Integer isdel, Date createTime,
			String subtitle, String freight, Date sendTime, String memberLimit,
			Integer isPromptly, Date saleTime, Integer countLimit,
			String venderId, String shopid, String infolite, String coverId) {
		super();
		this.id = id;
		this.name = name;
		this.info = info;
		this.discount = discount;
		this.isSale = isSale;
		this.sales = sales;
		this.isdel = isdel;
		this.createTime = createTime;
		this.subtitle = subtitle;
		this.freight = freight;
		this.sendTime = sendTime;
		this.memberLimit = memberLimit;
		this.isPromptly = isPromptly;
		this.saleTime = saleTime;
		this.countLimit = countLimit;
		this.venderId = venderId;
		this.shopid = shopid;
		this.infolite = infolite;
		this.coverId = coverId;
	}
	public TWxGoods() {
		super();
	}

    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false, length=50)

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	  @Column(name="name")

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	  @Column(name="info")
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	@Column(name="discount")
	public Integer getDiscount() {
		return discount;
	}
	public void setDiscount(Integer discount) {
		this.discount = discount;
	}
	@Column(name="isSale")
	public Integer getIsSale() {
		return isSale;
	}
	public void setIsSale(Integer isSale) {
		this.isSale = isSale;
	}
	@Column(name="sales")
	public Integer getSales() {
		return sales;
	}
	public void setSales(Integer sales) {
		this.sales = sales;
	}
	@Column(name="isdel")
	public Integer getIsdel() {
		return isdel;
	}
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
	@Column(name="createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name="subtitle")
	public String getSubtitle() {
		return subtitle;
	}
	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}
	@Column(name="freight")
	public String getFreight() {
		return freight;
	}
	public void setFreight(String freight) {
		this.freight = freight;
	}
	@Column(name="sendTime")
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	@Column(name="memberLimit")
	public String getMemberLimit() {
		return memberLimit;
	}
	public void setMemberLimit(String memberLimit) {
		this.memberLimit = memberLimit;
	}
	@Column(name="isPromptly")
	public Integer getIsPromptly() {
		return isPromptly;
	}
	public void setIsPromptly(Integer isPromptly) {
		this.isPromptly = isPromptly;
	}
	@Column(name="saleTime")
	public Date getSaleTime() {
		return saleTime;
	}
	public void setSaleTime(Date saleTime) {
		this.saleTime = saleTime;
	}
	@Column(name="countLimit")
	public Integer getCountLimit() {
		return countLimit;
	}
	public void setCountLimit(Integer countLimit) {
		this.countLimit = countLimit;
	}
	@Column(name="venderId")
	public String getVenderId() {
		return venderId;
	}
	public void setVenderId(String venderId) {
		this.venderId = venderId;
	}
	@Column(name="shopid")
	public String getShopid() {
		return shopid;
	}
	public void setShopid(String shopid) {
		this.shopid = shopid;
	}
	@Column(name="infolite")
	public String getInfolite() {
		return infolite;
	}
	public void setInfolite(String infolite) {
		this.infolite = infolite;
	}
	@Column(name="coverId")
	public String getCoverId() {
		return coverId;
	}
	public void setCoverId(String coverId) {
		this.coverId = coverId;
	}

	
}
